import {FormRuleUtil} from "@/utils";


export const NOTICE_EDIT = {
    BODY: {

        title: null,
        content: '',
        scope: null,
    },
    RULES: {
        scope: FormRuleUtil.strRule("用户群体", true, 100),
        title: FormRuleUtil.strRule("通知标题", true, 100),
        content: FormRuleUtil.strRule("通知内容", true),

    }
}


export const REMIND_EDIT = {
    BODY: {
        scope: null,

        title: null,
        content: '',
        recipientId: '',
    },
    RULES: {
        phoneNumber: FormRuleUtil.strRule("手机号码", true, 100),
        title: FormRuleUtil.strRule("通知标题", true, 100),
        recipientId: FormRuleUtil.strRule("被提醒人ID不能为空", true, 100),
        content: FormRuleUtil.strRule("通知内容", true),
        scope: FormRuleUtil.strRule("用户群体", true, 100),
    }
}





